[INFO] fetching crate twirl 0.1.1...
[INFO] checking twirl-0.1.1 against try#ebbfb508237d160e7a5e663a930916c87c4a8a45 for pr-106493
[INFO] extracting crate twirl 0.1.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate twirl 0.1.1 on toolchain ebbfb508237d160e7a5e663a930916c87c4a8a45
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate twirl 0.1.1
[INFO] finished tweaking crates.io crate twirl 0.1.1
[INFO] tweaked toml for crates.io crate twirl 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6237acdb2014c2cc632eed524e6b66306a20c998ab6c1ac3cdca27bdb1e0d030
[INFO] running `Command { std: "docker" "start" "-a" "6237acdb2014c2cc632eed524e6b66306a20c998ab6c1ac3cdca27bdb1e0d030", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6237acdb2014c2cc632eed524e6b66306a20c998ab6c1ac3cdca27bdb1e0d030", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6237acdb2014c2cc632eed524e6b66306a20c998ab6c1ac3cdca27bdb1e0d030", kill_on_drop: false }`
[INFO] [stdout] 6237acdb2014c2cc632eed524e6b66306a20c998ab6c1ac3cdca27bdb1e0d030
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+ebbfb508237d160e7a5e663a930916c87c4a8a45" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 90e3141e0d5e7ff7cc351492158c42277a83342d2ebf4ac30ed426949d0dfc6c
[INFO] running `Command { std: "docker" "start" "-a" "90e3141e0d5e7ff7cc351492158c42277a83342d2ebf4ac30ed426949d0dfc6c", kill_on_drop: false }`
[INFO] [stderr]    Compiling value-bag v1.0.0-alpha.9
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking futures-core-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling ctor v0.1.26
[INFO] [stderr]     Checking futures-sink-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]     Checking futures-io-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking waker-fn v1.1.0
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking futures-channel-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling openssl-sys v0.9.80
[INFO] [stderr]     Checking futures-lite v1.12.0
[INFO] [stderr]     Checking concurrent-queue v2.0.0
[INFO] [stderr]     Checking futures-util-preview v0.3.0-alpha.19
[INFO] [stderr]    Compiling tracing-attributes v0.1.23
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking crossbeam-queue v0.1.2
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling polling v2.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]     Checking async-lock v2.6.0
[INFO] [stderr]     Checking net2 v0.2.38
[INFO] [stderr]    Compiling async-io v1.12.0
[INFO] [stderr]     Checking parking_lot_core v0.6.3
[INFO] [stderr]    Compiling protobuf v2.28.0
[INFO] [stderr]     Checking async-task v4.3.0
[INFO] [stderr]    Compiling openssl v0.10.45
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking parking_lot v0.9.0
[INFO] [stderr]     Checking futures-util v0.3.25
[INFO] [stderr]     Checking tokio-io v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-codec v0.2.0-alpha.6
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking tokio-sync v0.2.0-alpha.6
[INFO] [stderr]     Checking async-channel v1.8.0
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling backtrace v0.3.67
[INFO] [stderr]    Compiling async-process v1.6.0
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking gimli v0.27.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking tokio-executor v0.2.0-alpha.6
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking blocking v1.3.0
[INFO] [stderr]     Checking miniz_oxide v0.6.2
[INFO] [stderr]     Checking indexmap v1.9.2
[INFO] [stderr]     Checking webpki v0.21.4
[INFO] [stderr]    Compiling protobuf-codegen v2.28.0
[INFO] [stderr]     Checking tokio-fs v0.2.0-alpha.6
[INFO] [stderr]     Checking tokio-timer v0.3.0-alpha.6
[INFO] [stderr]     Checking tokio-net v0.2.0-alpha.6
[INFO] [stderr]     Checking sct v0.6.1
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking async-executor v1.5.0
[INFO] [stderr]     Checking string v0.2.1
[INFO] [stderr]    Compiling tokio-macros v0.2.0-alpha.6
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking object v0.30.1
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking tower-service v0.3.0-alpha.2
[INFO] [stderr]    Compiling protobuf-codegen-pure v2.28.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking addr2line v0.19.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking try-lock v0.2.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking rustls v0.18.1
[INFO] [stderr]     Checking tower-make v0.3.0-alpha.2a
[INFO] [stderr]     Checking tokio v0.2.0-alpha.6
[INFO] [stderr]     Checking h2 v0.2.0-alpha.3
[INFO] [stderr]     Checking async-global-executor v2.3.1
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking webpki-roots v0.20.0
[INFO] [stderr]     Checking http-body v0.2.0-alpha.3
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking async-std v1.12.0
[INFO] [stderr]     Checking async-tls v0.9.0
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking tokio-tls v0.3.0-alpha.6
[INFO] [stderr]     Checking futures-executor-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking iana-time-zone v0.1.53
[INFO] [stderr]     Checking hyper v0.13.0-alpha.4
[INFO] [stderr]     Checking serde_json v1.0.91
[INFO] [stderr]     Checking futures-preview v0.3.0-alpha.19
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking chrono v0.4.23
[INFO] [stderr]    Compiling serde_derive v1.0.152
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking ffi-support v0.3.5
[INFO] [stderr]     Checking hyper-tls v0.4.0-alpha.4
[INFO] [stderr]    Compiling connect v0.1.2
[INFO] [stderr]     Checking twirl v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:16:77
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait AuthProvider<'a> {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                 ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:21:43
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>>;
[INFO] [stdout]    |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub trait RefreshableAuthProvider<'a>: AuthProvider {
[INFO] [stdout]    |                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:22
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:54
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                      ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/auth/auth_provider.rs:61:77
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                                                                             ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 61 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]    |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl<'a> AuthProvider for StaticAuthProvider {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:22
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:54
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                      ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:121:77
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                                                             ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 121 |     fn access_token<'a>(&'a mut self, scope: Option<Vec<&'a str>>) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                    ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 112 | impl<'a> AuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:17
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                 ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]    --> src/auth/auth_provider.rs:147:43
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |                                           ^^ undeclared lifetime
[INFO] [stdout]     |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn refresh<'a>(&'a mut self) -> BoxFuture<'a, Result<AccessToken>> {
[INFO] [stdout]     |               ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<'a> RefreshableAuthProvider for ClientCredentialsAuthProvider {
[INFO] [stdout]     |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the associated function body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/api/api_call.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> src/auth/auth_provider.rs:177:16
[INFO] [stdout]     |
[INFO] [stdout] 177 |         Error::description(self).fmt(f)
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0597]: `call` does not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrowed value does not live long enough
[INFO] [stdout] ...
[INFO] [stdout] 62 |     }
[INFO] [stdout]    |     - `call` dropped here while still borrowed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `call` because it is borrowed
[INFO] [stdout]   --> src/lib.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ------------             ----------- returning this value requires that `call` is borrowed for `'static`
[INFO] [stdout]    |                                                         |
[INFO] [stdout]    |                                                         borrow of `call` occurs here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                         ^^^^ move out of `call` occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0502]: cannot borrow `*self.auth` as immutable because it is also borrowed as mutable
[INFO] [stdout]   --> src/lib.rs:61:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  -------------------------------------------------------------
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  mutable borrow occurs here
[INFO] [stdout]    |                                  argument requires that `*self.auth` is borrowed for `'static`
[INFO] [stdout] ...
[INFO] [stdout] 61 |         Self::call_api_with_credentials(call, self.auth.client_id(), token.access_token().to_string()).await
[INFO] [stdout]    |                                               ^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function
[INFO] [stdout]   --> src/lib.rs:57:34
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ---------
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 `self` is a reference that is only valid in the associated function body
[INFO] [stdout]    |                                 let's call the lifetime of this reference `'1`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  `self` escapes the associated function body here
[INFO] [stdout]    |                                  argument requires that `'1` must outlive `'static`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0310]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^ ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B: 'static>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                               +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                 ^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0311]: the parameter type `B` may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the parameter type `B` must be valid for the anonymous lifetime defined here...
[INFO] [stdout]   --> src/lib.rs:55:50
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: ...so that the type `B` will meet its required lifetime bounds
[INFO] [stdout]   --> src/lib.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^
[INFO] [stdout] help: consider adding an explicit lifetime bound...
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<'a, T, B: 'a>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                           +++     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]   --> src/lib.rs:57:82
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub async fn call_api<T, B>(&mut self, call: TwitchAPICall<'_, B>) -> Result<T>
[INFO] [stdout]    |                                                                -- let's call the lifetime of this reference `'2`
[INFO] [stdout] 56 |         where T: serde::de::DeserializeOwned {
[INFO] [stdout] 57 |         let token: AccessToken = self.auth.access_token(call.scope().map(|scope| vec![scope])).await?;
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^ returning this value requires that `'2` must outlive `'static`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `url::Url::into_string`: use Into<String>
[INFO] [stdout]   --> src/lib.rs:72:27
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let url_str = url.into_string();
[INFO] [stdout]    |                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` due to 23 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 22 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0310, E0311, E0502, E0505, E0521, E0557, E0597.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `twirl` due to 23 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "90e3141e0d5e7ff7cc351492158c42277a83342d2ebf4ac30ed426949d0dfc6c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90e3141e0d5e7ff7cc351492158c42277a83342d2ebf4ac30ed426949d0dfc6c", kill_on_drop: false }`
[INFO] [stdout] 90e3141e0d5e7ff7cc351492158c42277a83342d2ebf4ac30ed426949d0dfc6c
